//
//  ContentItemCell.m
//  MyNote
//
//  Created by Adiljan on 2016/11/16.
//  Copyright © 2016年 Adiljan. All rights reserved.
//

#import "ContentItemCell.h"


@implementation ContentItemCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
//    [self initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"ContentItemCell"];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
//- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
//{
//    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
//    if (self) {
//        UIView *deleteBgView = [UIView new];
//        deleteBgView.backgroundColor = [UIColor blueColor];
//        [self.contentView addSubview:deleteBgView];
//        deleteBgView.frame = CGRectMake([UIScreen mainScreen].bounds.size.width, 0, 200, 50);
//        
//        UIButton *deleteBtn = [UIButton new];
//        //deleteBtn.backgroundColor = [UIColor yellowColor];
//        [deleteBtn setImage:[UIImage imageNamed:@"delete"] forState:UIControlStateNormal];
//        deleteBtn.frame = CGRectMake(30, 0, 40, 50);
//        [deleteBgView addSubview:deleteBtn];
//        
////        [deleteBgView mas_makeConstraints:^(MASConstraintMaker *make) {
////            make.left.offset([UIScreen mainScreen].bounds.size.width);
////            make.top.equalTo(self.contentView);
////            make.bottom.equalTo(self.contentView).offset(1);
////            make.width.equalTo(self.contentView);
////        }];
////        
////        [deleteBtn mas_makeConstraints:^(MASConstraintMaker *make) {
////            make.width.offset(80);
////            make.top.equalTo(deleteBgView);
////            make.bottom.equalTo(deleteBgView);
////            make.left.equalTo(deleteBgView);
////        }];
//        
//        
//    }
//    return self;
//}

@end
